 package com.querycenter.serviceimpl;
 
 import com.querycenter.mapper.Querymapper;
 import com.querycenter.mapper.TestDao;
 import com.querycenter.model.DataSourceObject;
 import com.querycenter.model.QueryModel;
 import com.querycenter.model.SelectModel;
import com.querycenter.model.Uoid;
import com.querycenter.serviceinter.QueryServiceInter;
 import java.util.List;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 
 @Service("queryService")
 public class QueryServiceImpl
   implements QueryServiceInter
 {
	//wyl
   @Autowired
   private Querymapper querymapper;
   private TestDao td = new TestDao();
 
   public List<QueryModel> getQueryList()
   {
     return null;
   }
 
   public Integer[] getWordIndex(Uoid u)
   {
     return this.querymapper.getWordIndex(u);
   }
 
   public List<String> getWordName(Uoid u)
   {
     return this.querymapper.getWordName(u);
   }
 
   public DataSourceObject getDataObjectById(int oid)
   {
     return this.querymapper.getDataObjectById(oid);
   }
 
   public List<DataSourceObject> getOwenDataObjectList(int oid)
   {
     return this.querymapper.getOwenDataObjectList(oid);
   }
 
   public Integer[] getWordIndexSelect(Uoid u)
   {
     return this.querymapper.getWordIndexSelect(u);
   }
 
   public List<SelectModel> getWordNameSelect(Uoid u)
   {
     return this.querymapper.getWordNameSelect(u);
   }

   public List<SelectModel> getSelected(Uoid u) 
   {
   return  this.querymapper.getSelected(u);
   }

@Override
public List<SelectModel> getSelectedByDefult(Uoid u) {
	// TODO Auto-generated method stub
	return this.querymapper.getSelectedByDefult(u);
}
   
   
   
   
   
   }

